package com.bgIntlgn.client.entity.manufacture.picLibrary;

import yuhuibear.poat.annotations.relation.View;
import yuhuibear.poat.object.bean.Bean;

/**
 * 计划需要的(状态为1或者2)
 * 
 * @author Simon Chen
 * 
 */
@View(name = "plan_need", sqlToCreate = "select distinct pi.uid as uid "
		+ "from production_plans as pp, production_iterms as pi "
		+ "where pp.id = pi.plan_id and (pp.state = 2 or pp.state = 1)")
public class PlanNeed implements Bean {

	private String uid;

	public String getUid() {
		return uid;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}
}